import Vue from 'vue'
import App from './App.vue'
import router from './routers'
import '@/assets/css/reset.css'
import { RadioGroup, Radio, Calendar, Notify, Toast, Popup, Button, NavBar, Tabbar, TabbarItem, Icon, Form, List, Field } from 'vant';
import http from '@/http/axios'
import store from './store'

Vue.config.productionTip = false

// Vue.createApp()
Vue.use(NavBar)
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(Icon)
Vue.use(List)
Vue.use(Form);
Vue.use(Field);
Vue.use(Button);
Vue.use(Popup);
Vue.use(RadioGroup, Radio);
Vue.use(Toast, Notify, Calendar);
// Vue.prototype.$http = http

new Vue({
  http,
  store,
  router,
  render: h => h(App)
}).$mount('#app')


